// 引入验证token模块
const {expressjwt} =require("express-jwt");
let secret="xyz";
const jwtAuth=expressjwt({
    secret,
    algorithms:['HS256']
}).unless({
    path:["/user/login"]
})
module.exports=jwtAuth;